public class test {
    public static void main(String[] args) {
        MySingleList mySingleList = new MySingleList();
        mySingleList.creatList();
        mySingleList.display();
        System.out.println();
        System.out.println(mySingleList.contains(23));
        System.out.println(mySingleList.size());
        mySingleList.addFirst(666);
        mySingleList.display();
        mySingleList.addLast(111);
        mySingleList.display();
    }
}
